
export default {
  config: {
    category: 'XButton'
  },
  name: 'XButton',
  render: (self, h) => {
    const data = self.ele
    return (
      <el-button
        size={data.size}
        type={data.type}
      // @click="submitForm(data)"
      >
        {data.icon ? <i class={data.icon}/> : ''}
        {data.bLabel}
      </el-button>
    )
  }
}
